package com.dbxt.entity;

import java.util.ArrayList;
/**
 * 教师实体类
 * @author Naive
 * @date 2020年5月13日
 */
public class Teacher {
    private Integer tid;//教师id

    private String username;//用户名

    private String password;//登录密码

    private String name;//教师姓名
    
    private String grouping;//老师所属分组
    
    private ArrayList<RecordTeacher> recordTeachers;//关联教师评论

	public Teacher() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Teacher(Integer tid, String username, String password, String name,
			ArrayList<RecordTeacher> recordTeachers) {
		super();
		this.tid = tid;
		this.username = username;
		this.password = password;
		this.name = name;
		this.recordTeachers = recordTeachers;
	}

	public Integer getTid() {
		return tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public ArrayList<RecordTeacher> getRecordTeachers() {
		return recordTeachers;
	}

	public void setRecordTeachers(ArrayList<RecordTeacher> recordTeachers) {
		this.recordTeachers = recordTeachers;
	}

	public String getGrouping() {
		return grouping;
	}

	public void setGrouping(String grouping) {
		this.grouping = grouping;
	}
	

}